package git.soulbgm.common.annotation;

import git.soulbgm.common.enumerate.ParamCheckLevel;
import java.lang.annotation.*;

/**
 * @author SoulBGM
 * @version 1.0
 * @date 2019/9/23 16:48
 */
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface ParamCheck {

    String[] value() default "";

    ParamCheckLevel[] level() default ParamCheckLevel.NOT_EMPTY;

}
